﻿using System;
using System.IO;
using Character;
using UnityEngine;

/// <summary>配置数据</summary>
public static class ConfigData
{
	// Token: 0x060012DF RID: 4831 RVA: 0x00087DE4 File Offset: 0x00085FE4
	public static void Reset()
	{
		ConfigData.showFPS = false;
		ConfigData.showFocusUI = true;
		ConfigData.cameraTurnSpeed = 1f;
		ConfigData.cameraMoveSpeed = 1f;
		ConfigData.mouseSensitive = 1f;
		ConfigData.mouseRevV = false;
		ConfigData.mouseRevH = false;
		ConfigData.dragLock = false;
		ConfigData.keySensitive = 1f;
		ConfigData.keyRevV = false;
		ConfigData.keyRevH = false;
		ConfigData.defParse = 25f;
		ConfigData.dropShadow = true;
		ConfigData.postEffect = true;
		ConfigData.autoHideObstacle = true;
		ConfigData.showMob = true;
		ConfigData.showMirror = true;
		ConfigData.backLightIntensity = 0.8f;
		ConfigData.maleColor = new Color(0.5f, 0.75f, 1f, 0.8f);
		ConfigData.clearColor = new Color(0.25f, 0.25f, 0.25f, 1f);
		ConfigData.showCustomHighlight = true;
		ConfigData.h_camReset_position = true;
		ConfigData.h_camReset_style = true;
		ConfigData.h_action_continue = false;
		ConfigData.thumbsCacheSizeMB = 100;
		ConfigData.postProcessFlavor = 1;
		ConfigData.eyeAdaptationEnable = false;
		ConfigData.exposureCompensation = 0.5f;
		ConfigData.bloomEnable = true;
		ConfigData.bloomRate = 1f;
		ConfigData.lensDirtEnable = false;
		ConfigData.vignetteEnable = true;
		ConfigData.vignetteRate = 1f;
		ConfigData.noiseEnable = false;
		ConfigData.noiseRate = 1f;
		ConfigData.ssaoEnable = true;
		ConfigData.ssaoIntensity = 1f;
		ConfigData.ssaoRadius = 1f;
		ConfigData.dofEnable = true;
		ConfigData.dofRate = 0.7f;
		ConfigData.volume_master = 0.75f;
		ConfigData.volume_bgm = 0.3f;
		ConfigData.volume_system = 1f;
		ConfigData.volume_se = 1f;
		ConfigData.volume_env = 1f;
		ConfigData.volume_voiceAll = 1f;
		ConfigData.volume_voiceRitsuko = 1f;
		ConfigData.volume_voiceAkiko = 1f;
		ConfigData.volume_voiceYukiko = 1f;
		ConfigData.volume_voiceHero = 1f;
		ConfigData.volume_voiceKouichi = 1f;
		ConfigData.volume_voiceMob = 1f;
		ConfigData.reverb_flag = true;
		ConfigData.pitch_voiceRitsuko = 0f;
		ConfigData.pitch_voiceAkiko = 0f;
		ConfigData.pitch_voiceYukiko = 0f;
		ConfigData.pitch_voiceHero = 0f;
		ConfigData.pitch_voiceKouichi = 0f;
		ConfigData.volume_voiceMariko = 1f;
		ConfigData.pitch_voiceMariko = 0f;
		ConfigData.anotherGameCardMessage = true;
		ConfigData.downloadCmpMsg = true;
		if (QualitySettings.GetQualityLevel() == 0)
		{
			ConfigData.dropShadow = false;
			ConfigData.showMirror = false;
			ConfigData.ssaoEnable = false;
			ConfigData.dofEnable = false;
		}
		else if (QualitySettings.GetQualityLevel() == 1)
		{
			ConfigData.dropShadow = false;
		}
		else if (QualitySettings.GetQualityLevel() == 2)
		{
			ConfigData.dropShadow = true;
		}
	}

	// Token: 0x060012E0 RID: 4832 RVA: 0x00088064 File Offset: 0x00086264
	public static void Save()
	{
		if (!Directory.Exists(ConfigData.path))
		{
			Directory.CreateDirectory(ConfigData.path);
		}
		string text = ConfigData.path + "/Config";
		FileStream fileStream = new FileStream(text, FileMode.Create);
		StreamWriter streamWriter = new StreamWriter(fileStream);
		streamWriter.WriteLine(ConfigData.version);
		ConfigData.Write(streamWriter, "showFocusUI", ConfigData.showFocusUI);
		ConfigData.Write(streamWriter, "cameraTurnSpeed", ConfigData.cameraTurnSpeed);
		ConfigData.Write(streamWriter, "cameraMoveSpeed", ConfigData.cameraMoveSpeed);
		ConfigData.Write(streamWriter, "mouseSensitive", ConfigData.mouseSensitive);
		ConfigData.Write(streamWriter, "mouseRevV", ConfigData.mouseRevV);
		ConfigData.Write(streamWriter, "mouseRevH", ConfigData.mouseRevH);
		ConfigData.Write(streamWriter, "dragLock", ConfigData.dragLock);
		ConfigData.Write(streamWriter, "keySensitive", ConfigData.keySensitive);
		ConfigData.Write(streamWriter, "keyRevV", ConfigData.keyRevV);
		ConfigData.Write(streamWriter, "keyRevH", ConfigData.keyRevH);
		ConfigData.Write(streamWriter, "centerDragMove", (int)ConfigData.centerDragMove);
		ConfigData.Write(streamWriter, "defParse", ConfigData.defParse);
		ConfigData.Write(streamWriter, "dropShadow", ConfigData.dropShadow);
		ConfigData.Write(streamWriter, "postEffect", ConfigData.postEffect);
		ConfigData.Write(streamWriter, "h_camReset_position", ConfigData.h_camReset_position);
		ConfigData.Write(streamWriter, "h_camReset_style", ConfigData.h_camReset_style);
		ConfigData.Write(streamWriter, "showFPS", ConfigData.showFPS);
		ConfigData.Write(streamWriter, "autoHideObstacle", ConfigData.autoHideObstacle);
		ConfigData.Write(streamWriter, "showMob", ConfigData.showMob);
		ConfigData.Write(streamWriter, "showMirror", ConfigData.showMirror);
		ConfigData.Write(streamWriter, "maleColor", ConfigData.maleColor);
		ConfigData.Write(streamWriter, "backLightIntensity", ConfigData.backLightIntensity);
		ConfigData.Write(streamWriter, "showCustomHighlight", ConfigData.showCustomHighlight);
		ConfigData.Write(streamWriter, "clearColor", ConfigData.clearColor);
		ConfigData.Write(streamWriter, "h_action_continue", ConfigData.h_action_continue);
		ConfigData.Write(streamWriter, "thumbsCacheSize", ConfigData.thumbsCacheSizeMB);
		ConfigData.Write(streamWriter, "postProcessFlavor", ConfigData.postProcessFlavor);
		ConfigData.Write(streamWriter, "eyeAdaptationEnable", ConfigData.eyeAdaptationEnable);
		ConfigData.Write(streamWriter, "exposureCompensation", ConfigData.exposureCompensation);
		ConfigData.Write(streamWriter, "bloomEnable", ConfigData.bloomEnable);
		ConfigData.Write(streamWriter, "bloomRate", ConfigData.bloomRate);
		ConfigData.Write(streamWriter, "lensDirtEnable", ConfigData.lensDirtEnable);
		ConfigData.Write(streamWriter, "vignetteEnable", ConfigData.vignetteEnable);
		ConfigData.Write(streamWriter, "vignetteRate", ConfigData.vignetteRate);
		ConfigData.Write(streamWriter, "noiseEnable", ConfigData.noiseEnable);
		ConfigData.Write(streamWriter, "noiseRate", ConfigData.noiseRate);
		ConfigData.Write(streamWriter, "ssaoEnable", ConfigData.ssaoEnable);
		ConfigData.Write(streamWriter, "ssaoIntensity", ConfigData.ssaoIntensity);
		ConfigData.Write(streamWriter, "ssaoRadius", ConfigData.ssaoRadius);
		ConfigData.Write(streamWriter, "dofEnable", ConfigData.dofEnable);
		ConfigData.Write(streamWriter, "dofRate", ConfigData.dofRate);
		ConfigData.Write(streamWriter, "volume_master", ConfigData.volume_master);
		ConfigData.Write(streamWriter, "volume_bgm", ConfigData.volume_bgm);
		ConfigData.Write(streamWriter, "volume_system", ConfigData.volume_system);
		ConfigData.Write(streamWriter, "volume_se", ConfigData.volume_se);
		ConfigData.Write(streamWriter, "volume_env", ConfigData.volume_env);
		ConfigData.Write(streamWriter, "volume_voiceAll", ConfigData.volume_voiceAll);
		ConfigData.Write(streamWriter, "volume_voiceRitsuko", ConfigData.volume_voiceRitsuko);
		ConfigData.Write(streamWriter, "volume_voiceAkiko", ConfigData.volume_voiceAkiko);
		ConfigData.Write(streamWriter, "volume_voiceYukiko", ConfigData.volume_voiceYukiko);
		ConfigData.Write(streamWriter, "volume_voiceMariko", ConfigData.volume_voiceMariko);
		ConfigData.Write(streamWriter, "volume_voiceHero", ConfigData.volume_voiceHero);
		ConfigData.Write(streamWriter, "volume_voiceKouichi", ConfigData.volume_voiceKouichi);
		ConfigData.Write(streamWriter, "volume_voiceMob", ConfigData.volume_voiceMob);
		ConfigData.Write(streamWriter, "reverb_flag", ConfigData.reverb_flag);
		ConfigData.Write(streamWriter, "pitch_voiceRitsuko", ConfigData.pitch_voiceRitsuko);
		ConfigData.Write(streamWriter, "pitch_voiceAkiko", ConfigData.pitch_voiceAkiko);
		ConfigData.Write(streamWriter, "pitch_voiceYukiko", ConfigData.pitch_voiceYukiko);
		ConfigData.Write(streamWriter, "pitch_voiceMariko", ConfigData.pitch_voiceMariko);
		ConfigData.Write(streamWriter, "pitch_voiceHero", ConfigData.pitch_voiceHero);
		ConfigData.Write(streamWriter, "pitch_voiceKouichi", ConfigData.pitch_voiceKouichi);
		ConfigData.Write(streamWriter, "anotherGameCardMessage", ConfigData.anotherGameCardMessage);
		ConfigData.Write(streamWriter, "downloadCmpMsg", ConfigData.downloadCmpMsg);
		streamWriter.Close();
		fileStream.Close();
	}

	// Token: 0x060012E1 RID: 4833 RVA: 0x000884B4 File Offset: 0x000866B4
	private static void Write(StreamWriter writer, string name, int val)
	{
		writer.WriteLine(name + ":" + val);
	}

	// Token: 0x060012E2 RID: 4834 RVA: 0x000884D0 File Offset: 0x000866D0
	private static void Write(StreamWriter writer, string name, float val)
	{
		writer.WriteLine(name + ":" + val);
	}

	// Token: 0x060012E3 RID: 4835 RVA: 0x000884EC File Offset: 0x000866EC
	private static void Write(StreamWriter writer, string name, bool val)
	{
		writer.WriteLine(name + ":" + val);
	}

	// Token: 0x060012E4 RID: 4836 RVA: 0x00088508 File Offset: 0x00086708
	private static void Write(StreamWriter writer, string name, Color val)
	{
		writer.WriteLine(string.Concat(new object[]
		{
			name,
			":",
			val.r,
			",",
			val.g,
			",",
			val.b,
			",",
			val.a
		}));
	}

	// Token: 0x060012E5 RID: 4837 RVA: 0x00088588 File Offset: 0x00086788
	public static void Load()
	{
		string text = ConfigData.path + "/Config";
		if (!File.Exists(text))
		{
			ConfigData.Reset();
			return;
		}
		FileStream fileStream = new FileStream(text, FileMode.Open);
		if (fileStream == null)
		{
			return;
		}
		StreamReader streamReader = new StreamReader(fileStream);
		int num = int.Parse(streamReader.ReadLine());
		if (num < 0 || num > ConfigData.version)
		{
			GlobalData.Debug_LogError("不明版本：" + num);
			streamReader.Close();
			fileStream.Close();
			return;
		}
		char[] separator = new char[]
		{
			':'
		};
		string text2 = string.Empty;
		while ((text2 = streamReader.ReadLine()) != null)
		{
			string[] array = text2.Split(separator, StringSplitOptions.RemoveEmptyEntries);
			if (array.Length == 2)
			{
				string text3 = array[0];
				switch (text3)
				{
				case "showFocusUI":
					ConfigData.Read(ref ConfigData.showFocusUI, array[1]);
					break;
				case "cameraTurnSpeed":
					ConfigData.Read(ref ConfigData.cameraTurnSpeed, array[1]);
					break;
				case "cameraMoveSpeed":
					ConfigData.Read(ref ConfigData.cameraMoveSpeed, array[1]);
					break;
				case "mouseSensitive":
					ConfigData.Read(ref ConfigData.mouseSensitive, array[1]);
					break;
				case "mouseRevV":
					ConfigData.Read(ref ConfigData.mouseRevV, array[1]);
					break;
				case "mouseRevH":
					ConfigData.Read(ref ConfigData.mouseRevH, array[1]);
					break;
				case "dragLock":
					ConfigData.Read(ref ConfigData.dragLock, array[1]);
					break;
				case "keySensitive":
					ConfigData.Read(ref ConfigData.keySensitive, array[1]);
					break;
				case "keyRevV":
					ConfigData.Read(ref ConfigData.keyRevV, array[1]);
					break;
				case "keyRevH":
					ConfigData.Read(ref ConfigData.keyRevH, array[1]);
					break;
				case "centerDragMove":
				{
					int num3 = 0;
					ConfigData.Read(ref num3, array[1]);
					ConfigData.centerDragMove = (IllusionCamera.CenterDragMove)num3;
					break;
				}
				case "defParse":
					ConfigData.Read(ref ConfigData.defParse, array[1]);
					break;
				case "dropShadow":
					ConfigData.Read(ref ConfigData.dropShadow, array[1]);
					break;
				case "h_camReset_position":
					ConfigData.Read(ref ConfigData.h_camReset_position, array[1]);
					break;
				case "h_camReset_style":
					ConfigData.Read(ref ConfigData.h_camReset_style, array[1]);
					break;
				case "showFPS":
					ConfigData.Read(ref ConfigData.showFPS, array[1]);
					break;
				case "autoHideObstacle":
					ConfigData.Read(ref ConfigData.autoHideObstacle, array[1]);
					break;
				case "showMob":
					ConfigData.Read(ref ConfigData.showMob, array[1]);
					break;
				case "showMirror":
					ConfigData.Read(ref ConfigData.showMirror, array[1]);
					break;
				case "maleColor":
					ConfigData.Read(ref ConfigData.maleColor, array[1]);
					break;
				case "backLightIntensity":
					ConfigData.Read(ref ConfigData.backLightIntensity, array[1]);
					break;
				case "showCustomHighlight":
					ConfigData.Read(ref ConfigData.showCustomHighlight, array[1]);
					break;
				case "clearColor":
					ConfigData.Read(ref ConfigData.clearColor, array[1]);
					break;
				case "h_action_continue":
					ConfigData.Read(ref ConfigData.h_action_continue, array[1]);
					break;
				case "thumbsCacheSize":
					ConfigData.Read(ref ConfigData.thumbsCacheSizeMB, array[1]);
					break;
				case "postProcessFlavor":
					ConfigData.Read(ref ConfigData.postProcessFlavor, array[1]);
					break;
				case "eyeAdaptationEnable":
					ConfigData.Read(ref ConfigData.eyeAdaptationEnable, array[1]);
					break;
				case "exposureCompensation":
					ConfigData.Read(ref ConfigData.exposureCompensation, array[1]);
					break;
				case "bloomEnable":
					ConfigData.Read(ref ConfigData.bloomEnable, array[1]);
					break;
				case "bloomRate":
					ConfigData.Read(ref ConfigData.bloomRate, array[1]);
					break;
				case "lensDirtEnable":
					ConfigData.Read(ref ConfigData.lensDirtEnable, array[1]);
					break;
				case "vignetteEnable":
					ConfigData.Read(ref ConfigData.vignetteEnable, array[1]);
					break;
				case "vignetteRate":
					ConfigData.Read(ref ConfigData.vignetteRate, array[1]);
					break;
				case "noiseEnable":
					ConfigData.Read(ref ConfigData.noiseEnable, array[1]);
					break;
				case "noiseRate":
					ConfigData.Read(ref ConfigData.noiseRate, array[1]);
					break;
				case "ssaoEnable":
					ConfigData.Read(ref ConfigData.ssaoEnable, array[1]);
					break;
				case "ssaoIntensity":
					ConfigData.Read(ref ConfigData.ssaoIntensity, array[1]);
					break;
				case "ssaoRadius":
					ConfigData.Read(ref ConfigData.ssaoRadius, array[1]);
					break;
				case "dofEnable":
					ConfigData.Read(ref ConfigData.dofEnable, array[1]);
					break;
				case "dofRate":
					ConfigData.Read(ref ConfigData.dofRate, array[1]);
					break;
				case "volume_master":
					ConfigData.Read(ref ConfigData.volume_master, array[1]);
					break;
				case "volume_bgm":
					ConfigData.Read(ref ConfigData.volume_bgm, array[1]);
					break;
				case "volume_system":
					ConfigData.Read(ref ConfigData.volume_system, array[1]);
					break;
				case "volume_se":
					ConfigData.Read(ref ConfigData.volume_se, array[1]);
					break;
				case "volume_env":
					ConfigData.Read(ref ConfigData.volume_env, array[1]);
					break;
				case "volume_voiceAll":
					ConfigData.Read(ref ConfigData.volume_voiceAll, array[1]);
					break;
				case "volume_voiceRitsuko":
					ConfigData.Read(ref ConfigData.volume_voiceRitsuko, array[1]);
					break;
				case "volume_voiceAkiko":
					ConfigData.Read(ref ConfigData.volume_voiceAkiko, array[1]);
					break;
				case "volume_voiceYukiko":
					ConfigData.Read(ref ConfigData.volume_voiceYukiko, array[1]);
					break;
				case "volume_voiceMariko":
					ConfigData.Read(ref ConfigData.volume_voiceMariko, array[1]);
					break;
				case "volume_voiceHero":
					ConfigData.Read(ref ConfigData.volume_voiceHero, array[1]);
					break;
				case "volume_voiceKouichi":
					ConfigData.Read(ref ConfigData.volume_voiceKouichi, array[1]);
					break;
				case "volume_voiceMob":
					ConfigData.Read(ref ConfigData.volume_voiceMob, array[1]);
					break;
				case "pitch_voiceRitsuko":
					ConfigData.Read(ref ConfigData.pitch_voiceRitsuko, array[1]);
					break;
				case "pitch_voiceAkiko":
					ConfigData.Read(ref ConfigData.pitch_voiceAkiko, array[1]);
					break;
				case "pitch_voiceYukiko":
					ConfigData.Read(ref ConfigData.pitch_voiceYukiko, array[1]);
					break;
				case "pitch_voiceMariko":
					ConfigData.Read(ref ConfigData.pitch_voiceMariko, array[1]);
					break;
				case "pitch_voiceHero":
					ConfigData.Read(ref ConfigData.pitch_voiceHero, array[1]);
					break;
				case "pitch_voiceKouichi":
					ConfigData.Read(ref ConfigData.pitch_voiceKouichi, array[1]);
					break;
				case "reverb_flag":
					ConfigData.Read(ref ConfigData.reverb_flag, array[1]);
					break;
				case "anotherGameCardMessage":
					ConfigData.Read(ref ConfigData.anotherGameCardMessage, array[1]);
					break;
				case "downloadCmpMsg":
					ConfigData.Read(ref ConfigData.downloadCmpMsg, array[1]);
					break;
				}
			}
		}
		streamReader.Close();
		fileStream.Close();
	}

	// Token: 0x060012E6 RID: 4838 RVA: 0x00088F90 File Offset: 0x00087190
	private static void Read(ref bool val, string str)
	{
		val = bool.Parse(str);
	}

	// Token: 0x060012E7 RID: 4839 RVA: 0x00088F9C File Offset: 0x0008719C
	private static void Read(ref float val, string str)
	{
		val = float.Parse(str);
	}

	// Token: 0x060012E8 RID: 4840 RVA: 0x00088FA8 File Offset: 0x000871A8
	private static void Read(ref int val, string str)
	{
		val = int.Parse(str);
	}

	// Token: 0x060012E9 RID: 4841 RVA: 0x00088FB4 File Offset: 0x000871B4
	private static void Read(ref Color val, string str)
	{
		string[] array = str.Split(new char[]
		{
			','
		}, StringSplitOptions.RemoveEmptyEntries);
		if (array.Length == 4)
		{
			val.r = float.Parse(array[0]);
			val.g = float.Parse(array[1]);
			val.b = float.Parse(array[2]);
			val.a = float.Parse(array[3]);
		}
		else
		{
			GlobalData.Debug_LogError("没能读取图标的颜色设定:" + str);
		}
	}

	// Token: 0x060012EA RID: 4842 RVA: 0x0008902C File Offset: 0x0008722C
	public static float VolumeBGM()
	{
		return ConfigData.volume_master * ConfigData.volume_bgm;
	}

	// Token: 0x060012EB RID: 4843 RVA: 0x0008903C File Offset: 0x0008723C
	public static float VolumeSyetem()
	{
		return ConfigData.volume_master * ConfigData.volume_system;
	}

	// Token: 0x060012EC RID: 4844 RVA: 0x0008904C File Offset: 0x0008724C
	public static float VolumeSoundEffect()
	{
		return ConfigData.volume_master * ConfigData.volume_se;
	}

	// Token: 0x060012ED RID: 4845 RVA: 0x0008905C File Offset: 0x0008725C
	public static float VolumeEnv()
	{
		return ConfigData.volume_master * ConfigData.volume_env;
	}

	// Token: 0x060012EE RID: 4846 RVA: 0x0008906C File Offset: 0x0008726C
	public static float VolumeVoice_Ritsuko()
	{
		return ConfigData.volume_master * ConfigData.volume_voiceAll * ConfigData.volume_voiceRitsuko;
	}

	// Token: 0x060012EF RID: 4847 RVA: 0x00089080 File Offset: 0x00087280
	public static float VolumeVoice_Akiko()
	{
		return ConfigData.volume_master * ConfigData.volume_voiceAll * ConfigData.volume_voiceAkiko;
	}

	// Token: 0x060012F0 RID: 4848 RVA: 0x00089094 File Offset: 0x00087294
	public static float VolumeVoice_Yukiko()
	{
		return ConfigData.volume_master * ConfigData.volume_voiceAll * ConfigData.volume_voiceYukiko;
	}

	// Token: 0x060012F1 RID: 4849 RVA: 0x000890A8 File Offset: 0x000872A8
	public static float VolumeVoice_Mariko()
	{
		return ConfigData.volume_master * ConfigData.volume_voiceAll * ConfigData.volume_voiceMariko;
	}

	// Token: 0x060012F2 RID: 4850 RVA: 0x000890BC File Offset: 0x000872BC
	public static float VolumeVoice_Hero()
	{
		return ConfigData.volume_master * ConfigData.volume_voiceAll * ConfigData.volume_voiceHero;
	}

	// Token: 0x060012F3 RID: 4851 RVA: 0x000890D0 File Offset: 0x000872D0
	public static float VolumeVoice_Kouichi()
	{
		return ConfigData.volume_master * ConfigData.volume_voiceAll * ConfigData.volume_voiceKouichi;
	}

	// Token: 0x060012F4 RID: 4852 RVA: 0x000890E4 File Offset: 0x000872E4
	public static float VolumeVoice_Mob()
	{
		return ConfigData.volume_master * ConfigData.volume_voiceAll * ConfigData.volume_voiceMob;
	}

	// Token: 0x060012F5 RID: 4853 RVA: 0x000890F8 File Offset: 0x000872F8
	public static float VolumeVoice_Heroine(HEROINE heroineID)
	{
		float num = 1f;
		if (heroineID == HEROINE.RITSUKO)
		{
			num = ConfigData.volume_voiceRitsuko;
		}
		else if (heroineID == HEROINE.AKIKO)
		{
			num = ConfigData.volume_voiceAkiko;
		}
		else if (heroineID == HEROINE.YUKIKO)
		{
			num = ConfigData.volume_voiceYukiko;
		}
		return ConfigData.volume_master * ConfigData.volume_voiceAll * num;
	}

	// Token: 0x060012F6 RID: 4854 RVA: 0x00089148 File Offset: 0x00087348
	public static float PitchVoice_Ritsuko()
	{
		return 1f + ConfigData.pitch_voiceRitsuko * ConfigData.pitchRate;
	}

	// Token: 0x060012F7 RID: 4855 RVA: 0x0008915C File Offset: 0x0008735C
	public static float PitchVoice_Akiko()
	{
		return 1f + ConfigData.pitch_voiceAkiko * ConfigData.pitchRate;
	}

	// Token: 0x060012F8 RID: 4856 RVA: 0x00089170 File Offset: 0x00087370
	public static float PitchVoice_Yukiko()
	{
		return 1f + ConfigData.pitch_voiceYukiko * ConfigData.pitchRate;
	}

	// Token: 0x060012F9 RID: 4857 RVA: 0x00089184 File Offset: 0x00087384
	public static float PitchVoice_Mariko()
	{
		return 1f + ConfigData.pitch_voiceMariko * ConfigData.pitchRate;
	}

	// Token: 0x060012FA RID: 4858 RVA: 0x00089198 File Offset: 0x00087398
	public static float PitchVoice_Hero()
	{
		return 1f + ConfigData.pitch_voiceHero * ConfigData.pitchRate;
	}

	// Token: 0x060012FB RID: 4859 RVA: 0x000891AC File Offset: 0x000873AC
	public static float PitchVoice_Kouichi()
	{
		return 1f + ConfigData.pitch_voiceKouichi * ConfigData.pitchRate;
	}

	// Token: 0x060012FC RID: 4860 RVA: 0x000891C0 File Offset: 0x000873C0
	public static float PitchVoice_Heroine(HEROINE heroineID)
	{
		float num = 1f;
		if (heroineID == HEROINE.RITSUKO)
		{
			num = ConfigData.pitch_voiceRitsuko;
		}
		else if (heroineID == HEROINE.AKIKO)
		{
			num = ConfigData.pitch_voiceAkiko;
		}
		else if (heroineID == HEROINE.YUKIKO)
		{
			num = ConfigData.pitch_voiceYukiko;
		}
		return 1f + num * ConfigData.pitchRate;
	}

	// Token: 0x040017D2 RID: 6098
	public static readonly string path = Application.dataPath + "/../UserData/Save";

	// Token: 0x040017D3 RID: 6099
	public static readonly int version = 1;

	// Token: 0x040017D4 RID: 6100
	public static readonly float pitchRate = 0.06f;

	// Token: 0x040017D5 RID: 6101
	public static bool showFocusUI = true;

	// Token: 0x040017D6 RID: 6102
	public static float cameraTurnSpeed = 1f;

	// Token: 0x040017D7 RID: 6103
	public static float cameraMoveSpeed = 1f;

	// Token: 0x040017D8 RID: 6104
	public static float mouseSensitive = 1f;

	// Token: 0x040017D9 RID: 6105
	public static bool mouseRevV = false;

	// Token: 0x040017DA RID: 6106
	public static bool mouseRevH = false;

	// Token: 0x040017DB RID: 6107
	public static bool dragLock = false;

	// Token: 0x040017DC RID: 6108
	public static IllusionCamera.CenterDragMove centerDragMove = IllusionCamera.CenterDragMove.XY;

	// Token: 0x040017DD RID: 6109
	public static float keySensitive = 1f;

	// Token: 0x040017DE RID: 6110
	public static bool keyRevV = false;

	// Token: 0x040017DF RID: 6111
	public static bool keyRevH = false;

	// Token: 0x040017E0 RID: 6112
	public static float defParse = 25f;

	// Token: 0x040017E1 RID: 6113
	public static bool dropShadow = true;

	// Token: 0x040017E2 RID: 6114
	public static bool postEffect = true;

	// Token: 0x040017E3 RID: 6115
	public static bool h_camReset_position = true;

	// Token: 0x040017E4 RID: 6116
	public static bool h_camReset_style = true;

	// Token: 0x040017E5 RID: 6117
	public static bool showFPS = true;

	// Token: 0x040017E6 RID: 6118
	public static bool autoHideObstacle = true;

	// Token: 0x040017E7 RID: 6119
	public static bool showMob = true;

	// Token: 0x040017E8 RID: 6120
	public static bool showMirror = true;

	// Token: 0x040017E9 RID: 6121
	public static float backLightIntensity = 0.8f;

	// Token: 0x040017EA RID: 6122
	public static Color maleColor = new Color(0.5f, 0.75f, 1f, 0.8f);

	// Token: 0x040017EB RID: 6123
	public static Color clearColor = new Color(0.25f, 0.25f, 0.25f, 1f);

	// Token: 0x040017EC RID: 6124
	public static bool showCustomHighlight = true;

	// Token: 0x040017ED RID: 6125
	public static bool h_action_continue = false;

	// Token: 0x040017EE RID: 6126
	public static int thumbsCacheSizeMB = 100;

	// Token: 0x040017EF RID: 6127
	public static int postProcessFlavor = 1;

	// Token: 0x040017F0 RID: 6128
	public static bool eyeAdaptationEnable = false;

	// Token: 0x040017F1 RID: 6129
	public static float exposureCompensation = 0.5f;

	// Token: 0x040017F2 RID: 6130
	public static bool bloomEnable = true;

	// Token: 0x040017F3 RID: 6131
	public static float bloomRate = 1f;

	// Token: 0x040017F4 RID: 6132
	public static bool lensDirtEnable = false;

	// Token: 0x040017F5 RID: 6133
	public static bool vignetteEnable = true;

	// Token: 0x040017F6 RID: 6134
	public static float vignetteRate = 1f;

	// Token: 0x040017F7 RID: 6135
	public static bool noiseEnable = false;

	// Token: 0x040017F8 RID: 6136
	public static float noiseRate = 1f;

	// Token: 0x040017F9 RID: 6137
	public static bool ssaoEnable = true;

	// Token: 0x040017FA RID: 6138
	public static float ssaoIntensity = 1f;

	// Token: 0x040017FB RID: 6139
	public static float ssaoRadius = 1f;

	// Token: 0x040017FC RID: 6140
	public static bool dofEnable = true;

	// Token: 0x040017FD RID: 6141
	public static float dofRate = 0.7f;

	// Token: 0x040017FE RID: 6142
	public static float volume_master = 0.75f;

	// Token: 0x040017FF RID: 6143
	public static float volume_bgm = 0.3f;

	// Token: 0x04001800 RID: 6144
	public static float volume_system = 1f;

	// Token: 0x04001801 RID: 6145
	public static float volume_se = 1f;

	// Token: 0x04001802 RID: 6146
	public static float volume_env = 1f;

	// Token: 0x04001803 RID: 6147
	public static float volume_voiceAll = 1f;

	// Token: 0x04001804 RID: 6148
	public static float volume_voiceRitsuko = 1f;

	// Token: 0x04001805 RID: 6149
	public static float volume_voiceAkiko = 1f;

	// Token: 0x04001806 RID: 6150
	public static float volume_voiceYukiko = 1f;

	// Token: 0x04001807 RID: 6151
	public static float volume_voiceHero = 1f;

	// Token: 0x04001808 RID: 6152
	public static float volume_voiceKouichi = 1f;

	// Token: 0x04001809 RID: 6153
	public static float volume_voiceMob = 1f;

	// Token: 0x0400180A RID: 6154
	public static bool reverb_flag = true;

	// Token: 0x0400180B RID: 6155
	public static float pitch_voiceRitsuko = 0f;

	// Token: 0x0400180C RID: 6156
	public static float pitch_voiceAkiko = 0f;

	// Token: 0x0400180D RID: 6157
	public static float pitch_voiceYukiko = 0f;

	// Token: 0x0400180E RID: 6158
	public static float pitch_voiceHero = 0f;

	// Token: 0x0400180F RID: 6159
	public static float pitch_voiceKouichi = 0f;

	// Token: 0x04001810 RID: 6160
	public static float volume_voiceMariko = 1f;

	// Token: 0x04001811 RID: 6161
	public static float pitch_voiceMariko = 0f;

	// Token: 0x04001812 RID: 6162
	public static bool anotherGameCardMessage = true;

	// Token: 0x04001813 RID: 6163
	public static bool downloadCmpMsg = true;
}
